<section id="typography">
  <div class="page-header">
    <h1>Gerenciador <small>páginas, fotos, vídeos, agenda e o conteúdo que precisar</small></h1>
  </div>
    
    <?php echo $this->element('_admin/management_menu'); ?>

  <!-- Headings & Paragraph Copy -->
    <div class="row">
        <?php echo $this->element('_admin/events/management_side'); ?>

        <div class="span8">
            <h3>Nova Página</h3>
            <div class="alvo">
                <? echo $this->Form->create('Event', array('class'=>'well')); ?>
                <? echo $this->Form->input('Event.title', array('label'=>'Título'));?>
                <? echo $this->Form->input('Event.where', array('label'=>'Local'));?>
                
                <label for="EventDate">Data do Evento</label>
                <input name="data[Event][date]" id="EventDate" type="date" />
                
                <label for="EventTime">Hora do Evento</label>
                <input name="data[Event][time]" id="EventTime" type="time" />
                
                
                <?php 
                    echo $this->Tinymce->input('Event.description', array( 
                        'label' => 'Descrição' 
                        ),array( 
                            'language'=>'en' 
                        ), 
                        'bbcode' 
                    ); 
                ?> 
                    <br/>
                    <label>Status</label>
                    <div class="make-switch" data-on="success" data-off="default">
                        <? echo $this->Form->checkbox('status', array('hiddenField' => false)); ?>
                    </div>
                    
                    <p class="help-block"><br/>
                        <button type="submit" class="btn btn-success">Salvar</button>
                        <button type="submit" class="btn btn-danger">Deletar</button>
                    </p>

                <? echo $this->Form->end(); ?>
            </div>
        </div>
    </div>
</section>